package model;

import java.io.Serializable;

public class LogisticsRequirement implements Serializable {
    private int serial_no;        // 序号
    private String item;         // 项目
    private String requirement;  // 具体要求
    private String proEffi;
    private String responsiblePerson; // 责任人
    private String supervisor;   // 监管人

    public LogisticsRequirement() {
    }

    public LogisticsRequirement(String item, String requirement,String proEffi,
                              String responsiblePerson, String supervisor) {
        this.item = item;
        this.requirement = requirement;
        this.proEffi = proEffi;
        this.responsiblePerson = responsiblePerson;
        this.supervisor = supervisor;
    }

    public LogisticsRequirement(Integer serialNo,String item, String requirement,String proEffi,
                                String responsiblePerson, String supervisor) {
        this.serial_no = serialNo;
        this.item = item;
        this.requirement = requirement;
        this.proEffi = proEffi;
        this.responsiblePerson = responsiblePerson;
        this.supervisor = supervisor;
    }

    public int getSerial_no() {
        return serial_no;
    }

    public void setSerial_no(int serial_no) {
        this.serial_no = serial_no;
    }

    public void setProEffi(String proEffi) {
        this.proEffi = proEffi;
    }

    public String getProEffi() {
        return proEffi;
    }

    // Getters and Setters
    public int getSerialNo() {
        return serial_no;
    }

    public void setSerialNo(int serialNo) {
        this.serial_no = serialNo;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public String getRequirement() {
        return requirement;
    }

    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }

    public String getResponsiblePerson() {
        return responsiblePerson;
    }

    public void setResponsiblePerson(String responsiblePerson) {
        this.responsiblePerson = responsiblePerson;
    }

    public String getSupervisor() {
        return supervisor;
    }

    public void setSupervisor(String supervisor) {
        this.supervisor = supervisor;
    }

    @Override
    public String toString() {
        return "LogisticsRequirement{" +
                "serialNo=" + serial_no +
                ", item='" + item + '\'' +
                ", requirement='" + requirement + '\'' +
                ", responsiblePerson='" + responsiblePerson + '\'' +
                ", supervisor='" + supervisor + '\'' +
                '}';
    }
} 